package com.xiaolin.security.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xiaolin.security.model.Member;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @ClassName MemberMapper
 * @Description TODO
 * @Detail detail
 * @Author MyPC
 * @Date 2020/9/30
 * @Version 1.0
 */
@Repository
@Mapper
public interface MemberMapper extends BaseMapper<Member> {

    List<String> selectRolesByUsername(@Param("username") String username);
}
